<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\TwiML\Voice;

use Twilio\TwiML\TwiML;

class Pause extends TwiML {
	/**
	 * Pause constructor.
	 *
	 * @param array $attributes Optional attributes
	 */
	public function __construct( $attributes = array() ) {
		parent::__construct( 'Pause', null, $attributes );
	}

	/**
	 * Add Length attribute.
	 *
	 * @param integer $length Length in seconds to pause
	 *
	 * @return $this
	 */
	public function setLength( $length ) {
		return $this->setAttribute( 'length', $length );
	}
}